package com.api.user.dao;

import com.api.core.ApiMapper;
import com.api.user.model.ReferralLog;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReferralLogMapper extends ApiMapper<ReferralLog> {
    BigDecimal receive(Long id);

    BigDecimal friendReceive(Long id);

    List<Map<String, Object>> list(Long id);
}